package com.etc.entity;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 评论
 */
public class Comments implements Serializable {

    private int commentid;
    private String comment;
    private LocalDateTime publishdate;

    @Override
    public String toString() {
        return "Comments{" +
                "commentid=" + commentid +
                ", comment='" + comment + '\'' +
                ", publishdate=" + publishdate +
                '}';
    }

    public int getCommentid() {
        return commentid;
    }

    public void setCommentid(int commentid) {
        this.commentid = commentid;
    }

    public String getComment() {
        return comment;
    }

    public void setComment(String comment) {
        this.comment = comment;
    }

    public LocalDateTime getPublishdate() {
        return publishdate;
    }

    public void setPublishdate(LocalDateTime publishdate) {
        this.publishdate = publishdate;
    }
}
